<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style media="screen">
  * {
    margin: 0;
    padding: 0;
  }
  .table {
    width: 90%;
    margin: 20px 5%;
  }
  .table ul {
        list-style: none;
        padding: 0px;
        margin: 0px;
        width: 100%;
        height: 40px;
        line-height: 40px;
        border: 1px solid #757575;
        border-top: 0;
        font-size: 14px;
    }
    .table  .th {
      border-top: 1px solid #757575;
    }
    .table ul li {
        display: block;
        width: 33.1%;
        float: left;
        border-left: 1px solid #757575;
        text-align: center;
    }
    .table ul li:first-child {
      border-left:0
    }
    .th {
        background: #F1FADE;
        font-weight: bold;
    }
  </style>
</head>
<body>
  <div class="table">
    <ul class="th">
        <li>姓名</li>
        <li>班级</li>
        <li>年龄</li>
    </ul>
    <ul>
        <li>阿三</li>
        <li>3-1</li>
        <li>13</li>
    </ul>
    <ul>
        <li>小龙</li>
        <li>2-4</li>
        <li>16</li>
    </ul>
    <ul>
        <li>大马</li>
        <li>5-3</li>
        <li>17</li>
    </ul>
  </div>
</body>
</html>
